#!/usr/bin/env python

from bbcwsgitools import EnvironDumper, JSON_Interceptor, CGI_Parser, Functional
from Comments import page_render_html


if __name__ == "__main__":
    import cgitb ; cgitb.enable()
    from wsgiref.handlers import CGIHandler

    CGIHandler().run( CGI_Parser( JSON_Interceptor( Functional(page_render_html, style="simple",responsetype="text/html") ) ) )

